const { Schema, model } = require("mongoose");
const PageSchema = new Schema(
    {
        pageId: {
            type: String,
            required: true,
        },
        pageName: String,
        htmlString: {
            type: String,
        },
    },
    {
        timestamps: {
            createdAt: "createTime",
            updatedAt: "updateTime",
        },
    }
);
module.exports = model("Page", PageSchema);
